programming4us
           
 
 
Sharepoint

Sharepoint 2010 : Enforce Custom Validation on a List or Library

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
12/2/2010 4:24:38 PM
To configure validation at a list or library level, open the list or library settings page by switching to the List ribbon or Library ribbon and clicking the List Settings or Library Settings button. In the list or library settings page, click the Validation Settings link to open the validation settings page shown in Figure 1.
Figure 1. The list validation settings page.


Here you can define a formula that will be evaluated when the user tries to save a new item in the list or library. The formula must evaluate to TRUE for the save to be successful.

For example, if you have two date fields, select the Due Date column from the Insert Column box on the right and click the Add to Formula link to add it to the box, and then do the same with the Starting Time column. In this way, you add the column names (surrounded by square brackets) to the formula. Add a > (greater than) sign between them, as shown in Figure 1, and click Save.

Another option in this page is to set the message the user sees if the formula fails to evaluate to TRUE. For example, Figure 1 is set to display a message to the users that the Due Date must be after the Starting Time.

You can use AND and OR operators to chain validation conditions in the formula. For example, you can have the formula check that either the State/Province column or the Country/Region column has a value and that either Home Phone or Mobile Phone has a value, as shown in Figure 2.

Figure 2. Chaining conditions by using the AND and OR operators for a complex validation rule.



Other -----------------
- SharePoint 2010 : Choose a Column Type (part 10) - Term Set Settings
- SharePoint 2010 : Choose a Column Type (part 9)
- SharePoint 2010 : Choose a Column Type (part 8)
- SharePoint 2010 : Choose a Column Type (part 7)
- SharePoint 2010 : Choose a Column Type (part 6) - Person or Group
- SharePoint 2010 : Choose a Column Type (part 5)
- SharePoint 2010 : Choose a Column Type (part 4)
- SharePoint 2010 : Choose a Column Type (part 3)
- SharePoint 2010 : Choose a Column Type (part 2) - Multiple Lines of Text
- SharePoint 2010 : Choose a Column Type (part 1) - Single Line of Text
- Optimizing SQL Server for SharePoint 2010 (part 4) - Pre-Creating Your Content Databases
- Optimizing SQL Server for SharePoint 2010 (part 3) - Model Database Settings
- Optimizing SQL Server for SharePoint 2010 (part 2) - Database Files and Their Location
- Optimizing SQL Server for SharePoint 2010 (part 1)
- Installing and Configuring SQL Server 2008 for SharePoint 2010
- SharePoint 2010 : Enforce Custom Validation on a Column
- SharePoint 2010 : Add a Site Column to a List or Document Library
- SharePoint 2010 : Add a Column to a List or Document Library
- SharePoint 2010 : Create a New Survey
- SharePoint 2010 : Create a New List
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us